.class final Lnbisdk/ps;
.super Ljava/lang/Object;


# static fields
.field private static final vA:Lnbisdk/qe;


# instance fields
.field private vy:Lnbisdk/bf;

.field private vz:Lnbisdk/rr;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    new-instance v0, Lnbisdk/qe;

    invoke-direct {v0}, Lnbisdk/qe;-><init>()V

    sput-object v0, Lnbisdk/ps;->vA:Lnbisdk/qe;

    return-void
.end method

.method constructor <init>()V
    .locals 2

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v0, Lnbisdk/bf;

    const/16 v1, 0xa

    invoke-direct {v0, v1}, Lnbisdk/bf;-><init>(I)V

    iput-object v0, p0, Lnbisdk/ps;->vy:Lnbisdk/bf;

    new-instance v0, Lnbisdk/rr;

    const/4 v1, 0x5

    invoke-direct {v0, v1}, Lnbisdk/rr;-><init>(I)V

    iput-object v0, p0, Lnbisdk/ps;->vz:Lnbisdk/rr;

    return-void
.end method

.method private declared-synchronized b(ILnbisdk/eh;)V
    .locals 3

    const/4 v2, 0x1

    monitor-enter p0

    const/4 v0, 0x0

    const/4 v1, 0x2

    if-ne p1, v1, :cond_2

    :try_start_0
    iget-object v1, p0, Lnbisdk/ps;->vy:Lnbisdk/bf;

    invoke-virtual {v1, p2}, Lnbisdk/bf;->a(Lnbisdk/eh;)V

    iget-object v1, p0, Lnbisdk/ps;->vy:Lnbisdk/bf;

    invoke-virtual {v1}, Lnbisdk/bf;->size()I

    move-result v1

    if-eqz v1, :cond_0

    move v0, v2

    :cond_0
    :goto_0
    if-eqz v0, :cond_1

    invoke-virtual {p0}, Ljava/lang/Object;->notifyAll()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_1
    monitor-exit p0

    return-void

    :cond_2
    const/4 v1, 0x3

    if-ne p1, v1, :cond_3

    :try_start_1
    iget-object v0, p0, Lnbisdk/ps;->vz:Lnbisdk/rr;

    invoke-virtual {v0, p2}, Lnbisdk/rr;->a(Lnbisdk/eh;)V

    move v0, v2

    goto :goto_0

    :cond_3
    const/4 v1, 0x4

    if-ne p1, v1, :cond_0

    iget-object v0, p0, Lnbisdk/ps;->vz:Lnbisdk/rr;

    invoke-virtual {v0, p2}, Lnbisdk/rr;->a(Lnbisdk/eh;)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    move v0, v2

    goto :goto_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method


# virtual methods
.method final declared-synchronized a(ILnbisdk/eh;)V
    .locals 1

    monitor-enter p0

    :try_start_0
    invoke-direct {p0, p1, p2}, Lnbisdk/ps;->b(ILnbisdk/eh;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method final declared-synchronized f(Lnbisdk/dz;)V
    .locals 1

    monitor-enter p0

    :try_start_0
    iget-object v0, p0, Lnbisdk/ps;->vy:Lnbisdk/bf;

    invoke-virtual {v0, p1}, Lnbisdk/bf;->c(Lnbisdk/dz;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method final declared-synchronized kc()Lnbisdk/eh;
    .locals 2

    const/4 v1, 0x1

    monitor-enter p0

    :try_start_0
    iget-object v0, p0, Lnbisdk/ps;->vy:Lnbisdk/bf;

    invoke-virtual {v0}, Lnbisdk/bf;->size()I

    move-result v0

    if-eqz v0, :cond_3

    move v0, v1

    :goto_0
    if-nez v0, :cond_0

    const-wide/16 v0, 0x3e8

    invoke-virtual {p0, v0, v1}, Ljava/lang/Object;->wait(J)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0
    .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    :goto_1
    const/4 v0, 0x0

    :try_start_1
    iget-object v1, p0, Lnbisdk/ps;->vy:Lnbisdk/bf;

    invoke-virtual {v1}, Lnbisdk/bf;->size()I

    move-result v1

    if-eqz v1, :cond_5

    iget-object v0, p0, Lnbisdk/ps;->vy:Lnbisdk/bf;

    invoke-virtual {v0}, Lnbisdk/bf;->bn()Lnbisdk/eh;

    move-result-object v0

    :cond_1
    :goto_2
    if-nez v0, :cond_2

    sget-object v0, Lnbisdk/ps;->vA:Lnbisdk/qe;
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    :cond_2
    monitor-exit p0

    return-object v0

    :cond_3
    :try_start_2
    iget-object v0, p0, Lnbisdk/ps;->vz:Lnbisdk/rr;

    invoke-virtual {v0}, Lnbisdk/rr;->size()I
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0
    .catch Ljava/lang/InterruptedException; {:try_start_2 .. :try_end_2} :catch_0

    move-result v0

    if-eqz v0, :cond_4

    move v0, v1

    goto :goto_0

    :cond_4
    const/4 v0, 0x0

    goto :goto_0

    :cond_5
    :try_start_3
    iget-object v1, p0, Lnbisdk/ps;->vz:Lnbisdk/rr;

    invoke-virtual {v1}, Lnbisdk/rr;->size()I

    move-result v1

    if-eqz v1, :cond_1

    iget-object v0, p0, Lnbisdk/ps;->vz:Lnbisdk/rr;

    invoke-virtual {v0}, Lnbisdk/rr;->bn()Lnbisdk/eh;
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    move-result-object v0

    goto :goto_2

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0

    :catch_0
    move-exception v0

    goto :goto_1
.end method
